

export default {

  state: {
    topic: [],
    select:"",
    show:false
  },

  getters: {

    gettopic: state => state.topic,

    getSelect: state=>state.select,

    getShow: state=>state.show

  },

  mutations: {

    // set方法

    settopic(state, topic) {
      state.topic = topic
    },
    
    setSelect(state,select){
      state.select = select
    },

    setShow(state,show){
      state.show = show
    }

  }

}

